package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信息补充对象 suif
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Suif extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String corporate;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 支付密码 */
    private Long payment;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 0为车主端，1为货主端 */
    @Excel(name = "0为车主端，1为货主端")
    private Long loginPosition;

    /** 删除:0为正常，1为删除 */
    private Long del;

    private SysUser sysUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCorporate(String corporate) 
    {
        this.corporate = corporate;
    }

    public String getCorporate() 
    {
        return corporate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPayment(Long payment) 
    {
        this.payment = payment;
    }

    public Long getPayment() 
    {
        return payment;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setLoginPosition(Long loginPosition) 
    {
        this.loginPosition = loginPosition;
    }

    public Long getLoginPosition() 
    {
        return loginPosition;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("corporate", getCorporate())
            .append("address", getAddress())
            .append("payment", getPayment())
            .append("idNumber", getIdNumber())
            .append("loginPosition", getLoginPosition())
            .append("del", getDel())
            .toString();
    }
}
